<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns:yui="http://yuilibrary.com/rdf/1.0/yui.rdf#">
<head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
	<title>API: slider   DualSlider.js  (YUI Library)</title>

	<link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css" />
	<link rel="stylesheet" type="text/css" href="assets/api.css" />

    <script type="text/javascript" src="assets/api-js"></script>
    <script type="text/javascript" src="assets/ac-js"></script>
</head>

<body id="yahoo-com">

<div id="doc3" class="yui-t2">
	<div id="hd">
        <h1><a href="http://developer.yahoo.com/yui/" title="Yahoo! UI Library">Yahoo! UI Library</a></h1>
        <h3>Slider Widget&nbsp; <span class="subtitle">2.9.0</span></h3>
        <a href="./index.html" title="Yahoo! UI Library">Yahoo! UI Library</a> 
            &gt; <a href="./module_slider.html" title="slider">slider</a>
                
                 &gt; DualSlider.js (source view) 
        <form onsubmit="return false">
            <div id="propertysearch">
                Search: <input autocomplete="off" id="searchinput" />
                <div id="searchresults">
                    &nbsp;
                </div>
            </div>
        </form>
	</div>

	<div id="bd">
		<div id="yui-main">
			<div class="yui-b">
            <form action="#" name="yui-classopts-form" method="get" id="yui-classopts-form">
                <fieldset>
                    <legend>Filters</legend>
                <span class="classopts"><input type="checkbox" name="show_private" id="show_private" /> <label for="show_private">Show Private</label></span>
                <span class="classopts"><input type="checkbox" name="show_protected" id="show_protected" /> <label for="show_protected">Show Protected</label></span>
                <span class="classopts"><input type="checkbox" name="show_deprecated" id="show_deprecated" /> <label for="show_deprecated">Show Deprecated</label></span>
                </fieldset>
            </form>

                    <div id="srcout">
                        <style>
                            #doc3 .classopts { display:none; }
                        </style>
                        <div class="highlight"><pre><span class="cm">/**</span>
<span class="cm"> * A slider with two thumbs, one that represents the min value and </span>
<span class="cm"> * the other the max.  Actually a composition of two sliders, both with</span>
<span class="cm"> * the same background.  The constraints for each slider are adjusted</span>
<span class="cm"> * dynamically so that the min value of the max slider is equal or greater</span>
<span class="cm"> * to the current value of the min slider, and the max value of the min</span>
<span class="cm"> * slider is the current value of the max slider.</span>
<span class="cm"> * Constructor assumes both thumbs are positioned absolutely at the 0 mark on</span>
<span class="cm"> * the background.</span>
<span class="cm"> *</span>
<span class="cm"> * @namespace YAHOO.widget</span>
<span class="cm"> * @class DualSlider</span>
<span class="cm"> * @uses YAHOO.util.EventProvider</span>
<span class="cm"> * @constructor</span>
<span class="cm"> * @param {Slider} minSlider The Slider instance used for the min value thumb</span>
<span class="cm"> * @param {Slider} maxSlider The Slider instance used for the max value thumb</span>
<span class="cm"> * @param {int}    range The number of pixels the thumbs may move within</span>
<span class="cm"> * @param {Array}  initVals (optional) [min,max] Initial thumb placement</span>
<span class="cm"> */</span>
<span class="p">(</span><span class="kd">function</span> <span class="p">()</span> <span class="p">{</span>

<span class="kd">var</span> <span class="nx">Event</span> <span class="o">=</span> <span class="nx">YAHOO</span><span class="p">.</span><span class="nx">util</span><span class="p">.</span><span class="nx">Event</span><span class="p">,</span>
    <span class="nx">YW</span> <span class="o">=</span> <span class="nx">YAHOO</span><span class="p">.</span><span class="nx">widget</span><span class="p">;</span>

<span class="kd">function</span> <span class="nx">DualSlider</span><span class="p">(</span><span class="nx">minSlider</span><span class="p">,</span> <span class="nx">maxSlider</span><span class="p">,</span> <span class="nx">range</span><span class="p">,</span> <span class="nx">initVals</span><span class="p">)</span> <span class="p">{</span>

    <span class="kd">var</span> <span class="nx">self</span>  <span class="o">=</span> <span class="k">this</span><span class="p">,</span>
        <span class="nx">ready</span> <span class="o">=</span> <span class="p">{</span> <span class="nx">min</span> <span class="o">:</span> <span class="kc">false</span><span class="p">,</span> <span class="nx">max</span> <span class="o">:</span> <span class="kc">false</span> <span class="p">},</span>
        <span class="nx">minThumbOnMouseDown</span><span class="p">,</span> <span class="nx">maxThumbOnMouseDown</span><span class="p">;</span>

    <span class="cm">/**</span>
<span class="cm">     * A slider instance that keeps track of the lower value of the range.</span>
<span class="cm">     * &lt;strong&gt;read only&lt;/strong&gt;</span>
<span class="cm">     * @property minSlider</span>
<span class="cm">     * @type Slider</span>
<span class="cm">     */</span>
    <span class="k">this</span><span class="p">.</span><span class="nx">minSlider</span> <span class="o">=</span> <span class="nx">minSlider</span><span class="p">;</span>

    <span class="cm">/**</span>
<span class="cm">     * A slider instance that keeps track of the upper value of the range.</span>
<span class="cm">     * &lt;strong&gt;read only&lt;/strong&gt;</span>
<span class="cm">     * @property maxSlider</span>
<span class="cm">     * @type Slider</span>
<span class="cm">     */</span>
    <span class="k">this</span><span class="p">.</span><span class="nx">maxSlider</span> <span class="o">=</span> <span class="nx">maxSlider</span><span class="p">;</span>

    <span class="cm">/**</span>
<span class="cm">     * The currently active slider (min or max). &lt;strong&gt;read only&lt;/strong&gt;</span>
<span class="cm">     * @property activeSlider</span>
<span class="cm">     * @type Slider</span>
<span class="cm">     */</span>
    <span class="k">this</span><span class="p">.</span><span class="nx">activeSlider</span> <span class="o">=</span> <span class="nx">minSlider</span><span class="p">;</span>

    <span class="cm">/**</span>
<span class="cm">     * Is the DualSlider oriented horizontally or vertically?</span>
<span class="cm">     * &lt;strong&gt;read only&lt;/strong&gt;</span>
<span class="cm">     * @property isHoriz</span>
<span class="cm">     * @type boolean</span>
<span class="cm">     */</span>
    <span class="k">this</span><span class="p">.</span><span class="nx">isHoriz</span> <span class="o">=</span> <span class="nx">minSlider</span><span class="p">.</span><span class="nx">thumb</span><span class="p">.</span><span class="nx">_isHoriz</span><span class="p">;</span>

    <span class="c1">//FIXME: this is horrible</span>
    <span class="nx">minThumbOnMouseDown</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">minSlider</span><span class="p">.</span><span class="nx">thumb</span><span class="p">.</span><span class="nx">onMouseDown</span><span class="p">;</span>
    <span class="nx">maxThumbOnMouseDown</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">maxSlider</span><span class="p">.</span><span class="nx">thumb</span><span class="p">.</span><span class="nx">onMouseDown</span><span class="p">;</span>
    <span class="k">this</span><span class="p">.</span><span class="nx">minSlider</span><span class="p">.</span><span class="nx">thumb</span><span class="p">.</span><span class="nx">onMouseDown</span> <span class="o">=</span> <span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
        <span class="nx">self</span><span class="p">.</span><span class="nx">activeSlider</span> <span class="o">=</span> <span class="nx">self</span><span class="p">.</span><span class="nx">minSlider</span><span class="p">;</span>
        <span class="nx">minThumbOnMouseDown</span><span class="p">.</span><span class="nx">apply</span><span class="p">(</span><span class="k">this</span><span class="p">,</span><span class="nx">arguments</span><span class="p">);</span>
    <span class="p">};</span>
    <span class="k">this</span><span class="p">.</span><span class="nx">maxSlider</span><span class="p">.</span><span class="nx">thumb</span><span class="p">.</span><span class="nx">onMouseDown</span> <span class="o">=</span> <span class="kd">function</span> <span class="p">()</span> <span class="p">{</span>
        <span class="nx">self</span><span class="p">.</span><span class="nx">activeSlider</span> <span class="o">=</span> <span class="nx">self</span><span class="p">.</span><span class="nx">maxSlider</span><span class="p">;</span>
        <span class="nx">maxThumbOnMouseDown</span><span class="p">.</span><span class="nx">apply</span><span class="p">(</span><span class="k">this</span><span class="p">,</span><span class="nx">arguments</span><span class="p">);</span>
    <span class="p">};</span>

    <span class="k">this</span><span class="p">.</span><span class="nx">minSlider</span><span class="p">.</span><span class="nx">thumb</span><span class="p">.</span><span class="nx">onAvailable</span> <span class="o">=</span> <span class="kd">function</span> <span class="p">()</span> <span class="p">{</span>
        <span class="nx">minSlider</span><span class="p">.</span><span class="nx">setStartSliderState</span><span class="p">();</span>
        <span class="nx">ready</span><span class="p">.</span><span class="nx">min</span> <span class="o">=</span> <span class="kc">true</span><span class="p">;</span>
        <span class="k">if</span> <span class="p">(</span><span class="nx">ready</span><span class="p">.</span><span class="nx">max</span><span class="p">)</span> <span class="p">{</span>
            <span class="nx">self</span><span class="p">.</span><span class="nx">fireEvent</span><span class="p">(</span><span class="s1">&#39;ready&#39;</span><span class="p">,</span><span class="nx">self</span><span class="p">);</span>
        <span class="p">}</span>
    <span class="p">};</span>
    <span class="k">this</span><span class="p">.</span><span class="nx">maxSlider</span><span class="p">.</span><span class="nx">thumb</span><span class="p">.</span><span class="nx">onAvailable</span> <span class="o">=</span> <span class="kd">function</span> <span class="p">()</span> <span class="p">{</span>
        <span class="nx">maxSlider</span><span class="p">.</span><span class="nx">setStartSliderState</span><span class="p">();</span>
        <span class="nx">ready</span><span class="p">.</span><span class="nx">max</span> <span class="o">=</span> <span class="kc">true</span><span class="p">;</span>
        <span class="k">if</span> <span class="p">(</span><span class="nx">ready</span><span class="p">.</span><span class="nx">min</span><span class="p">)</span> <span class="p">{</span>
            <span class="nx">self</span><span class="p">.</span><span class="nx">fireEvent</span><span class="p">(</span><span class="s1">&#39;ready&#39;</span><span class="p">,</span><span class="nx">self</span><span class="p">);</span>
        <span class="p">}</span>
    <span class="p">};</span>

    <span class="c1">// dispatch mousedowns to the active slider</span>
    <span class="nx">minSlider</span><span class="p">.</span><span class="nx">onMouseDown</span> <span class="o">=</span>
    <span class="nx">maxSlider</span><span class="p">.</span><span class="nx">onMouseDown</span> <span class="o">=</span> <span class="kd">function</span><span class="p">(</span><span class="nx">e</span><span class="p">)</span> <span class="p">{</span>
        <span class="k">return</span> <span class="k">this</span><span class="p">.</span><span class="nx">backgroundEnabled</span> <span class="o">&amp;&amp;</span> <span class="nx">self</span><span class="p">.</span><span class="nx">_handleMouseDown</span><span class="p">(</span><span class="nx">e</span><span class="p">);</span>
    <span class="p">};</span>

    <span class="c1">// Fix the drag behavior so that only the active slider</span>
    <span class="c1">// follows the drag</span>
    <span class="nx">minSlider</span><span class="p">.</span><span class="nx">onDrag</span> <span class="o">=</span>
    <span class="nx">maxSlider</span><span class="p">.</span><span class="nx">onDrag</span> <span class="o">=</span> <span class="kd">function</span><span class="p">(</span><span class="nx">e</span><span class="p">)</span> <span class="p">{</span>
        <span class="nx">self</span><span class="p">.</span><span class="nx">_handleDrag</span><span class="p">(</span><span class="nx">e</span><span class="p">);</span>
    <span class="p">};</span>

    <span class="c1">// Likely only the minSlider&#39;s onMouseUp will be executed, but both are</span>
    <span class="c1">// overridden just to be safe</span>
    <span class="nx">minSlider</span><span class="p">.</span><span class="nx">onMouseUp</span> <span class="o">=</span>
    <span class="nx">maxSlider</span><span class="p">.</span><span class="nx">onMouseUp</span> <span class="o">=</span> <span class="kd">function</span> <span class="p">(</span><span class="nx">e</span><span class="p">)</span> <span class="p">{</span>
        <span class="nx">self</span><span class="p">.</span><span class="nx">_handleMouseUp</span><span class="p">(</span><span class="nx">e</span><span class="p">);</span>
    <span class="p">};</span>

    <span class="c1">// Replace the _bindKeyEvents for the minSlider and remove that for the</span>
    <span class="c1">// maxSlider since they share the same bg element.</span>
    <span class="nx">minSlider</span><span class="p">.</span><span class="nx">_bindKeyEvents</span> <span class="o">=</span> <span class="kd">function</span> <span class="p">()</span> <span class="p">{</span>
        <span class="nx">self</span><span class="p">.</span><span class="nx">_bindKeyEvents</span><span class="p">(</span><span class="k">this</span><span class="p">);</span>
    <span class="p">};</span>
    <span class="nx">maxSlider</span><span class="p">.</span><span class="nx">_bindKeyEvents</span> <span class="o">=</span> <span class="kd">function</span> <span class="p">()</span> <span class="p">{};</span>

    <span class="c1">// The core events for each slider are handled so we can expose a single</span>
    <span class="c1">// event for when the event happens on either slider</span>
    <span class="nx">minSlider</span><span class="p">.</span><span class="nx">subscribe</span><span class="p">(</span><span class="s2">&quot;change&quot;</span><span class="p">,</span> <span class="k">this</span><span class="p">.</span><span class="nx">_handleMinChange</span><span class="p">,</span> <span class="nx">minSlider</span><span class="p">,</span> <span class="k">this</span><span class="p">);</span>
    <span class="nx">minSlider</span><span class="p">.</span><span class="nx">subscribe</span><span class="p">(</span><span class="s2">&quot;slideStart&quot;</span><span class="p">,</span> <span class="k">this</span><span class="p">.</span><span class="nx">_handleSlideStart</span><span class="p">,</span> <span class="nx">minSlider</span><span class="p">,</span> <span class="k">this</span><span class="p">);</span>
    <span class="nx">minSlider</span><span class="p">.</span><span class="nx">subscribe</span><span class="p">(</span><span class="s2">&quot;slideEnd&quot;</span><span class="p">,</span> <span class="k">this</span><span class="p">.</span><span class="nx">_handleSlideEnd</span><span class="p">,</span> <span class="nx">minSlider</span><span class="p">,</span> <span class="k">this</span><span class="p">);</span>

    <span class="nx">maxSlider</span><span class="p">.</span><span class="nx">subscribe</span><span class="p">(</span><span class="s2">&quot;change&quot;</span><span class="p">,</span> <span class="k">this</span><span class="p">.</span><span class="nx">_handleMaxChange</span><span class="p">,</span> <span class="nx">maxSlider</span><span class="p">,</span> <span class="k">this</span><span class="p">);</span>
    <span class="nx">maxSlider</span><span class="p">.</span><span class="nx">subscribe</span><span class="p">(</span><span class="s2">&quot;slideStart&quot;</span><span class="p">,</span> <span class="k">this</span><span class="p">.</span><span class="nx">_handleSlideStart</span><span class="p">,</span> <span class="nx">maxSlider</span><span class="p">,</span> <span class="k">this</span><span class="p">);</span>
    <span class="nx">maxSlider</span><span class="p">.</span><span class="nx">subscribe</span><span class="p">(</span><span class="s2">&quot;slideEnd&quot;</span><span class="p">,</span> <span class="k">this</span><span class="p">.</span><span class="nx">_handleSlideEnd</span><span class="p">,</span> <span class="nx">maxSlider</span><span class="p">,</span> <span class="k">this</span><span class="p">);</span>

    <span class="cm">/**</span>
<span class="cm">     * Event that fires when the slider is finished setting up</span>
<span class="cm">     * @event ready</span>
<span class="cm">     * @param {DualSlider} dualslider the DualSlider instance</span>
<span class="cm">     */</span>
    <span class="k">this</span><span class="p">.</span><span class="nx">createEvent</span><span class="p">(</span><span class="s2">&quot;ready&quot;</span><span class="p">,</span> <span class="k">this</span><span class="p">);</span>

    <span class="cm">/**</span>
<span class="cm">     * Event that fires when either the min or max value changes</span>
<span class="cm">     * @event change</span>
<span class="cm">     * @param {DualSlider} dualslider the DualSlider instance</span>
<span class="cm">     */</span>
    <span class="k">this</span><span class="p">.</span><span class="nx">createEvent</span><span class="p">(</span><span class="s2">&quot;change&quot;</span><span class="p">,</span> <span class="k">this</span><span class="p">);</span>

    <span class="cm">/**</span>
<span class="cm">     * Event that fires when one of the thumbs begins to move</span>
<span class="cm">     * @event slideStart</span>
<span class="cm">     * @param {Slider} activeSlider the moving slider</span>
<span class="cm">     */</span>
    <span class="k">this</span><span class="p">.</span><span class="nx">createEvent</span><span class="p">(</span><span class="s2">&quot;slideStart&quot;</span><span class="p">,</span> <span class="k">this</span><span class="p">);</span>

    <span class="cm">/**</span>
<span class="cm">     * Event that fires when one of the thumbs finishes moving</span>
<span class="cm">     * @event slideEnd</span>
<span class="cm">     * @param {Slider} activeSlider the moving slider</span>
<span class="cm">     */</span>
    <span class="k">this</span><span class="p">.</span><span class="nx">createEvent</span><span class="p">(</span><span class="s2">&quot;slideEnd&quot;</span><span class="p">,</span> <span class="k">this</span><span class="p">);</span>

    <span class="c1">// Validate initial values</span>
    <span class="nx">initVals</span> <span class="o">=</span> <span class="nx">YAHOO</span><span class="p">.</span><span class="nx">lang</span><span class="p">.</span><span class="nx">isArray</span><span class="p">(</span><span class="nx">initVals</span><span class="p">)</span> <span class="o">?</span> <span class="nx">initVals</span> <span class="o">:</span> <span class="p">[</span><span class="mi">0</span><span class="p">,</span><span class="nx">range</span><span class="p">];</span>
    <span class="nx">initVals</span><span class="p">[</span><span class="mi">0</span><span class="p">]</span> <span class="o">=</span> <span class="nb">Math</span><span class="p">.</span><span class="nx">min</span><span class="p">(</span><span class="nb">Math</span><span class="p">.</span><span class="nx">max</span><span class="p">(</span><span class="nb">parseInt</span><span class="p">(</span><span class="nx">initVals</span><span class="p">[</span><span class="mi">0</span><span class="p">],</span><span class="mi">10</span><span class="p">)</span><span class="o">|</span><span class="mi">0</span><span class="p">,</span><span class="mi">0</span><span class="p">),</span><span class="nx">range</span><span class="p">);</span>
    <span class="nx">initVals</span><span class="p">[</span><span class="mi">1</span><span class="p">]</span> <span class="o">=</span> <span class="nb">Math</span><span class="p">.</span><span class="nx">max</span><span class="p">(</span><span class="nb">Math</span><span class="p">.</span><span class="nx">min</span><span class="p">(</span><span class="nb">parseInt</span><span class="p">(</span><span class="nx">initVals</span><span class="p">[</span><span class="mi">1</span><span class="p">],</span><span class="mi">10</span><span class="p">)</span><span class="o">|</span><span class="mi">0</span><span class="p">,</span><span class="nx">range</span><span class="p">),</span><span class="mi">0</span><span class="p">);</span>
    <span class="c1">// Swap initVals if min &gt; max</span>
    <span class="k">if</span> <span class="p">(</span><span class="nx">initVals</span><span class="p">[</span><span class="mi">0</span><span class="p">]</span> <span class="o">&gt;</span> <span class="nx">initVals</span><span class="p">[</span><span class="mi">1</span><span class="p">])</span> <span class="p">{</span>
        <span class="nx">initVals</span><span class="p">.</span><span class="nx">splice</span><span class="p">(</span><span class="mi">0</span><span class="p">,</span><span class="mi">2</span><span class="p">,</span><span class="nx">initVals</span><span class="p">[</span><span class="mi">1</span><span class="p">],</span><span class="nx">initVals</span><span class="p">[</span><span class="mi">0</span><span class="p">]);</span>
    <span class="p">}</span>
    <span class="k">this</span><span class="p">.</span><span class="nx">minVal</span> <span class="o">=</span> <span class="nx">initVals</span><span class="p">[</span><span class="mi">0</span><span class="p">];</span>
    <span class="k">this</span><span class="p">.</span><span class="nx">maxVal</span> <span class="o">=</span> <span class="nx">initVals</span><span class="p">[</span><span class="mi">1</span><span class="p">];</span>

    <span class="c1">// Set values so initial assignment when the slider thumbs are ready will</span>
    <span class="c1">// use these values</span>
    <span class="k">this</span><span class="p">.</span><span class="nx">minSlider</span><span class="p">.</span><span class="nx">setValue</span><span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">minVal</span><span class="p">,</span><span class="kc">true</span><span class="p">,</span><span class="kc">true</span><span class="p">,</span><span class="kc">true</span><span class="p">);</span>
    <span class="k">this</span><span class="p">.</span><span class="nx">maxSlider</span><span class="p">.</span><span class="nx">setValue</span><span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">maxVal</span><span class="p">,</span><span class="kc">true</span><span class="p">,</span><span class="kc">true</span><span class="p">,</span><span class="kc">true</span><span class="p">);</span>

    <span class="nx">YAHOO</span><span class="p">.</span><span class="nx">log</span><span class="p">(</span><span class="s2">&quot;Setting initial values &quot;</span> <span class="o">+</span> <span class="k">this</span><span class="p">.</span><span class="nx">minVal</span> <span class="o">+</span> <span class="s2">&quot;, &quot;</span> <span class="o">+</span> <span class="k">this</span><span class="p">.</span><span class="nx">maxVal</span><span class="p">,</span><span class="s2">&quot;info&quot;</span><span class="p">,</span><span class="s2">&quot;DualSlider&quot;</span><span class="p">);</span>
<span class="p">}</span>

<span class="nx">DualSlider</span><span class="p">.</span><span class="nx">prototype</span> <span class="o">=</span> <span class="p">{</span>

    <span class="cm">/**</span>
<span class="cm">     * The current value of the min thumb. &lt;strong&gt;read only&lt;/strong&gt;.</span>
<span class="cm">     * @property minVal</span>
<span class="cm">     * @type int</span>
<span class="cm">     */</span>
    <span class="nx">minVal</span> <span class="o">:</span> <span class="o">-</span><span class="mi">1</span><span class="p">,</span>

    <span class="cm">/**</span>
<span class="cm">     * The current value of the max thumb. &lt;strong&gt;read only&lt;/strong&gt;.</span>
<span class="cm">     * @property maxVal</span>
<span class="cm">     * @type int</span>
<span class="cm">     */</span>
    <span class="nx">maxVal</span> <span class="o">:</span> <span class="o">-</span><span class="mi">1</span><span class="p">,</span>

    <span class="cm">/**</span>
<span class="cm">     * Pixel distance to maintain between thumbs.</span>
<span class="cm">     * @property minRange</span>
<span class="cm">     * @type int</span>
<span class="cm">     * @default 0</span>
<span class="cm">     */</span>
    <span class="nx">minRange</span> <span class="o">:</span> <span class="mi">0</span><span class="p">,</span>

    <span class="cm">/**</span>
<span class="cm">     * Executed when one of the sliders fires the slideStart event</span>
<span class="cm">     * @method _handleSlideStart</span>
<span class="cm">     * @private</span>
<span class="cm">     */</span>
    <span class="nx">_handleSlideStart</span><span class="o">:</span> <span class="kd">function</span><span class="p">(</span><span class="nx">data</span><span class="p">,</span> <span class="nx">slider</span><span class="p">)</span> <span class="p">{</span>
        <span class="k">this</span><span class="p">.</span><span class="nx">fireEvent</span><span class="p">(</span><span class="s2">&quot;slideStart&quot;</span><span class="p">,</span> <span class="nx">slider</span><span class="p">);</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Executed when one of the sliders fires the slideEnd event</span>
<span class="cm">     * @method _handleSlideEnd</span>
<span class="cm">     * @private</span>
<span class="cm">     */</span>
    <span class="nx">_handleSlideEnd</span><span class="o">:</span> <span class="kd">function</span><span class="p">(</span><span class="nx">data</span><span class="p">,</span> <span class="nx">slider</span><span class="p">)</span> <span class="p">{</span>
        <span class="k">this</span><span class="p">.</span><span class="nx">fireEvent</span><span class="p">(</span><span class="s2">&quot;slideEnd&quot;</span><span class="p">,</span> <span class="nx">slider</span><span class="p">);</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Overrides the onDrag method for both sliders</span>
<span class="cm">     * @method _handleDrag</span>
<span class="cm">     * @private</span>
<span class="cm">     */</span>
    <span class="nx">_handleDrag</span><span class="o">:</span> <span class="kd">function</span><span class="p">(</span><span class="nx">e</span><span class="p">)</span> <span class="p">{</span>
        <span class="nx">YW</span><span class="p">.</span><span class="nx">Slider</span><span class="p">.</span><span class="nx">prototype</span><span class="p">.</span><span class="nx">onDrag</span><span class="p">.</span><span class="nx">call</span><span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">activeSlider</span><span class="p">,</span> <span class="nx">e</span><span class="p">);</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Executed when the min slider fires the change event</span>
<span class="cm">     * @method _handleMinChange</span>
<span class="cm">     * @private</span>
<span class="cm">     */</span>
    <span class="nx">_handleMinChange</span><span class="o">:</span> <span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
        <span class="k">this</span><span class="p">.</span><span class="nx">activeSlider</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">minSlider</span><span class="p">;</span>
        <span class="k">this</span><span class="p">.</span><span class="nx">updateValue</span><span class="p">();</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Executed when the max slider fires the change event</span>
<span class="cm">     * @method _handleMaxChange</span>
<span class="cm">     * @private</span>
<span class="cm">     */</span>
    <span class="nx">_handleMaxChange</span><span class="o">:</span> <span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
        <span class="k">this</span><span class="p">.</span><span class="nx">activeSlider</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">maxSlider</span><span class="p">;</span>
        <span class="k">this</span><span class="p">.</span><span class="nx">updateValue</span><span class="p">();</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Set up the listeners for the keydown and keypress events.</span>
<span class="cm">     *</span>
<span class="cm">     * @method _bindKeyEvents</span>
<span class="cm">     * @protected</span>
<span class="cm">     */</span>
    <span class="nx">_bindKeyEvents</span> <span class="o">:</span> <span class="kd">function</span> <span class="p">(</span><span class="nx">slider</span><span class="p">)</span> <span class="p">{</span>
        <span class="nx">Event</span><span class="p">.</span><span class="nx">on</span><span class="p">(</span><span class="nx">slider</span><span class="p">.</span><span class="nx">id</span><span class="p">,</span><span class="s1">&#39;keydown&#39;</span><span class="p">,</span> <span class="k">this</span><span class="p">.</span><span class="nx">_handleKeyDown</span><span class="p">,</span> <span class="k">this</span><span class="p">,</span><span class="kc">true</span><span class="p">);</span>
        <span class="nx">Event</span><span class="p">.</span><span class="nx">on</span><span class="p">(</span><span class="nx">slider</span><span class="p">.</span><span class="nx">id</span><span class="p">,</span><span class="s1">&#39;keypress&#39;</span><span class="p">,</span><span class="k">this</span><span class="p">.</span><span class="nx">_handleKeyPress</span><span class="p">,</span><span class="k">this</span><span class="p">,</span><span class="kc">true</span><span class="p">);</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Delegate event handling to the active Slider.  See Slider.handleKeyDown.</span>
<span class="cm">     *</span>
<span class="cm">     * @method _handleKeyDown</span>
<span class="cm">     * @param e {Event} the mousedown DOM event</span>
<span class="cm">     * @protected</span>
<span class="cm">     */</span>
    <span class="nx">_handleKeyDown</span> <span class="o">:</span> <span class="kd">function</span> <span class="p">(</span><span class="nx">e</span><span class="p">)</span> <span class="p">{</span>
        <span class="k">this</span><span class="p">.</span><span class="nx">activeSlider</span><span class="p">.</span><span class="nx">handleKeyDown</span><span class="p">.</span><span class="nx">apply</span><span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">activeSlider</span><span class="p">,</span><span class="nx">arguments</span><span class="p">);</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Delegate event handling to the active Slider.  See Slider.handleKeyPress.</span>
<span class="cm">     *</span>
<span class="cm">     * @method _handleKeyPress</span>
<span class="cm">     * @param e {Event} the mousedown DOM event</span>
<span class="cm">     * @protected</span>
<span class="cm">     */</span>
    <span class="nx">_handleKeyPress</span> <span class="o">:</span> <span class="kd">function</span> <span class="p">(</span><span class="nx">e</span><span class="p">)</span> <span class="p">{</span>
        <span class="k">this</span><span class="p">.</span><span class="nx">activeSlider</span><span class="p">.</span><span class="nx">handleKeyPress</span><span class="p">.</span><span class="nx">apply</span><span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">activeSlider</span><span class="p">,</span><span class="nx">arguments</span><span class="p">);</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Sets the min and max thumbs to new values.</span>
<span class="cm">     * @method setValues</span>
<span class="cm">     * @param min {int} Pixel offset to assign to the min thumb</span>
<span class="cm">     * @param max {int} Pixel offset to assign to the max thumb</span>
<span class="cm">     * @param skipAnim {boolean} (optional) Set to true to skip thumb animation.</span>
<span class="cm">     * Default false</span>
<span class="cm">     * @param force {boolean} (optional) ignore the locked setting and set</span>
<span class="cm">     * value anyway. Default false</span>
<span class="cm">     * @param silent {boolean} (optional) Set to true to skip firing change</span>
<span class="cm">     * events.  Default false</span>
<span class="cm">     */</span>
    <span class="nx">setValues</span> <span class="o">:</span> <span class="kd">function</span> <span class="p">(</span><span class="nx">min</span><span class="p">,</span> <span class="nx">max</span><span class="p">,</span> <span class="nx">skipAnim</span><span class="p">,</span> <span class="nx">force</span><span class="p">,</span> <span class="nx">silent</span><span class="p">)</span> <span class="p">{</span>
        <span class="kd">var</span> <span class="nx">mins</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">minSlider</span><span class="p">,</span>
            <span class="nx">maxs</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">maxSlider</span><span class="p">,</span>
            <span class="nx">mint</span> <span class="o">=</span> <span class="nx">mins</span><span class="p">.</span><span class="nx">thumb</span><span class="p">,</span>
            <span class="nx">maxt</span> <span class="o">=</span> <span class="nx">maxs</span><span class="p">.</span><span class="nx">thumb</span><span class="p">,</span>
            <span class="nx">self</span> <span class="o">=</span> <span class="k">this</span><span class="p">,</span>
            <span class="nx">done</span> <span class="o">=</span> <span class="p">{</span> <span class="nx">min</span> <span class="o">:</span> <span class="kc">false</span><span class="p">,</span> <span class="nx">max</span> <span class="o">:</span> <span class="kc">false</span> <span class="p">};</span>

        <span class="c1">// Clear constraints to prevent animated thumbs from prematurely</span>
        <span class="c1">// stopping when hitting a constraint that&#39;s moving with the other</span>
        <span class="c1">// thumb.</span>
        <span class="k">if</span> <span class="p">(</span><span class="nx">mint</span><span class="p">.</span><span class="nx">_isHoriz</span><span class="p">)</span> <span class="p">{</span>
            <span class="nx">mint</span><span class="p">.</span><span class="nx">setXConstraint</span><span class="p">(</span><span class="nx">mint</span><span class="p">.</span><span class="nx">leftConstraint</span><span class="p">,</span><span class="nx">maxt</span><span class="p">.</span><span class="nx">rightConstraint</span><span class="p">,</span><span class="nx">mint</span><span class="p">.</span><span class="nx">tickSize</span><span class="p">);</span>
            <span class="nx">maxt</span><span class="p">.</span><span class="nx">setXConstraint</span><span class="p">(</span><span class="nx">mint</span><span class="p">.</span><span class="nx">leftConstraint</span><span class="p">,</span><span class="nx">maxt</span><span class="p">.</span><span class="nx">rightConstraint</span><span class="p">,</span><span class="nx">maxt</span><span class="p">.</span><span class="nx">tickSize</span><span class="p">);</span>
        <span class="p">}</span> <span class="k">else</span> <span class="p">{</span>
            <span class="nx">mint</span><span class="p">.</span><span class="nx">setYConstraint</span><span class="p">(</span><span class="nx">mint</span><span class="p">.</span><span class="nx">topConstraint</span><span class="p">,</span><span class="nx">maxt</span><span class="p">.</span><span class="nx">bottomConstraint</span><span class="p">,</span><span class="nx">mint</span><span class="p">.</span><span class="nx">tickSize</span><span class="p">);</span>
            <span class="nx">maxt</span><span class="p">.</span><span class="nx">setYConstraint</span><span class="p">(</span><span class="nx">mint</span><span class="p">.</span><span class="nx">topConstraint</span><span class="p">,</span><span class="nx">maxt</span><span class="p">.</span><span class="nx">bottomConstraint</span><span class="p">,</span><span class="nx">maxt</span><span class="p">.</span><span class="nx">tickSize</span><span class="p">);</span>
        <span class="p">}</span>

        <span class="c1">// Set up one-time slideEnd callbacks to call updateValue when both</span>
        <span class="c1">// thumbs have been set</span>
        <span class="k">this</span><span class="p">.</span><span class="nx">_oneTimeCallback</span><span class="p">(</span><span class="nx">mins</span><span class="p">,</span><span class="s1">&#39;slideEnd&#39;</span><span class="p">,</span><span class="kd">function</span> <span class="p">()</span> <span class="p">{</span>
            <span class="nx">done</span><span class="p">.</span><span class="nx">min</span> <span class="o">=</span> <span class="kc">true</span><span class="p">;</span>
            <span class="k">if</span> <span class="p">(</span><span class="nx">done</span><span class="p">.</span><span class="nx">max</span><span class="p">)</span> <span class="p">{</span>
                <span class="nx">self</span><span class="p">.</span><span class="nx">updateValue</span><span class="p">(</span><span class="nx">silent</span><span class="p">);</span>
                <span class="c1">// Clean the slider&#39;s slideEnd events on a timeout since this</span>
                <span class="c1">// will be executed from inside the event&#39;s fire</span>
                <span class="nx">setTimeout</span><span class="p">(</span><span class="kd">function</span> <span class="p">()</span> <span class="p">{</span>
                    <span class="nx">self</span><span class="p">.</span><span class="nx">_cleanEvent</span><span class="p">(</span><span class="nx">mins</span><span class="p">,</span><span class="s1">&#39;slideEnd&#39;</span><span class="p">);</span>
                    <span class="nx">self</span><span class="p">.</span><span class="nx">_cleanEvent</span><span class="p">(</span><span class="nx">maxs</span><span class="p">,</span><span class="s1">&#39;slideEnd&#39;</span><span class="p">);</span>
                <span class="p">},</span><span class="mi">0</span><span class="p">);</span>
            <span class="p">}</span>
        <span class="p">});</span>

        <span class="k">this</span><span class="p">.</span><span class="nx">_oneTimeCallback</span><span class="p">(</span><span class="nx">maxs</span><span class="p">,</span><span class="s1">&#39;slideEnd&#39;</span><span class="p">,</span><span class="kd">function</span> <span class="p">()</span> <span class="p">{</span>
            <span class="nx">done</span><span class="p">.</span><span class="nx">max</span> <span class="o">=</span> <span class="kc">true</span><span class="p">;</span>
            <span class="k">if</span> <span class="p">(</span><span class="nx">done</span><span class="p">.</span><span class="nx">min</span><span class="p">)</span> <span class="p">{</span>
                <span class="nx">self</span><span class="p">.</span><span class="nx">updateValue</span><span class="p">(</span><span class="nx">silent</span><span class="p">);</span>
                <span class="c1">// Clean both sliders&#39; slideEnd events on a timeout since this</span>
                <span class="c1">// will be executed from inside one of the event&#39;s fire</span>
                <span class="nx">setTimeout</span><span class="p">(</span><span class="kd">function</span> <span class="p">()</span> <span class="p">{</span>
                    <span class="nx">self</span><span class="p">.</span><span class="nx">_cleanEvent</span><span class="p">(</span><span class="nx">mins</span><span class="p">,</span><span class="s1">&#39;slideEnd&#39;</span><span class="p">);</span>
                    <span class="nx">self</span><span class="p">.</span><span class="nx">_cleanEvent</span><span class="p">(</span><span class="nx">maxs</span><span class="p">,</span><span class="s1">&#39;slideEnd&#39;</span><span class="p">);</span>
                <span class="p">},</span><span class="mi">0</span><span class="p">);</span>
            <span class="p">}</span>
        <span class="p">});</span>

        <span class="c1">// Must emit Slider slideEnd event to propagate to updateValue</span>
        <span class="nx">mins</span><span class="p">.</span><span class="nx">setValue</span><span class="p">(</span><span class="nx">min</span><span class="p">,</span><span class="nx">skipAnim</span><span class="p">,</span><span class="nx">force</span><span class="p">,</span><span class="kc">false</span><span class="p">);</span>
        <span class="nx">maxs</span><span class="p">.</span><span class="nx">setValue</span><span class="p">(</span><span class="nx">max</span><span class="p">,</span><span class="nx">skipAnim</span><span class="p">,</span><span class="nx">force</span><span class="p">,</span><span class="kc">false</span><span class="p">);</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Set the min thumb position to a new value.</span>
<span class="cm">     * @method setMinValue</span>
<span class="cm">     * @param min {int} Pixel offset for min thumb</span>
<span class="cm">     * @param skipAnim {boolean} (optional) Set to true to skip thumb animation.</span>
<span class="cm">     * Default false</span>
<span class="cm">     * @param force {boolean} (optional) ignore the locked setting and set</span>
<span class="cm">     * value anyway. Default false</span>
<span class="cm">     * @param silent {boolean} (optional) Set to true to skip firing change</span>
<span class="cm">     * events.  Default false</span>
<span class="cm">     */</span>
    <span class="nx">setMinValue</span> <span class="o">:</span> <span class="kd">function</span> <span class="p">(</span><span class="nx">min</span><span class="p">,</span> <span class="nx">skipAnim</span><span class="p">,</span> <span class="nx">force</span><span class="p">,</span> <span class="nx">silent</span><span class="p">)</span> <span class="p">{</span>
        <span class="kd">var</span> <span class="nx">mins</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">minSlider</span><span class="p">,</span>
            <span class="nx">self</span> <span class="o">=</span> <span class="k">this</span><span class="p">;</span>

        <span class="k">this</span><span class="p">.</span><span class="nx">activeSlider</span> <span class="o">=</span> <span class="nx">mins</span><span class="p">;</span>

        <span class="c1">// Use a one-time event callback to delay the updateValue call</span>
        <span class="c1">// until after the slide operation is done</span>
        <span class="nx">self</span> <span class="o">=</span> <span class="k">this</span><span class="p">;</span>
        <span class="k">this</span><span class="p">.</span><span class="nx">_oneTimeCallback</span><span class="p">(</span><span class="nx">mins</span><span class="p">,</span><span class="s1">&#39;slideEnd&#39;</span><span class="p">,</span><span class="kd">function</span> <span class="p">()</span> <span class="p">{</span>
            <span class="nx">self</span><span class="p">.</span><span class="nx">updateValue</span><span class="p">(</span><span class="nx">silent</span><span class="p">);</span>
            <span class="c1">// Clean the slideEnd event on a timeout since this</span>
            <span class="c1">// will be executed from inside the event&#39;s fire</span>
            <span class="nx">setTimeout</span><span class="p">(</span><span class="kd">function</span> <span class="p">()</span> <span class="p">{</span> <span class="nx">self</span><span class="p">.</span><span class="nx">_cleanEvent</span><span class="p">(</span><span class="nx">mins</span><span class="p">,</span><span class="s1">&#39;slideEnd&#39;</span><span class="p">);</span> <span class="p">},</span> <span class="mi">0</span><span class="p">);</span>
        <span class="p">});</span>

        <span class="nx">mins</span><span class="p">.</span><span class="nx">setValue</span><span class="p">(</span><span class="nx">min</span><span class="p">,</span> <span class="nx">skipAnim</span><span class="p">,</span> <span class="nx">force</span><span class="p">);</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Set the max thumb position to a new value.</span>
<span class="cm">     * @method setMaxValue</span>
<span class="cm">     * @param max {int} Pixel offset for max thumb</span>
<span class="cm">     * @param skipAnim {boolean} (optional) Set to true to skip thumb animation.</span>
<span class="cm">     * Default false</span>
<span class="cm">     * @param force {boolean} (optional) ignore the locked setting and set</span>
<span class="cm">     * value anyway. Default false</span>
<span class="cm">     * @param silent {boolean} (optional) Set to true to skip firing change</span>
<span class="cm">     * events.  Default false</span>
<span class="cm">     */</span>
    <span class="nx">setMaxValue</span> <span class="o">:</span> <span class="kd">function</span> <span class="p">(</span><span class="nx">max</span><span class="p">,</span> <span class="nx">skipAnim</span><span class="p">,</span> <span class="nx">force</span><span class="p">,</span> <span class="nx">silent</span><span class="p">)</span> <span class="p">{</span>
        <span class="kd">var</span> <span class="nx">maxs</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">maxSlider</span><span class="p">,</span>
            <span class="nx">self</span> <span class="o">=</span> <span class="k">this</span><span class="p">;</span>

        <span class="k">this</span><span class="p">.</span><span class="nx">activeSlider</span> <span class="o">=</span> <span class="nx">maxs</span><span class="p">;</span>

        <span class="c1">// Use a one-time event callback to delay the updateValue call</span>
        <span class="c1">// until after the slide operation is done</span>
        <span class="k">this</span><span class="p">.</span><span class="nx">_oneTimeCallback</span><span class="p">(</span><span class="nx">maxs</span><span class="p">,</span><span class="s1">&#39;slideEnd&#39;</span><span class="p">,</span><span class="kd">function</span> <span class="p">()</span> <span class="p">{</span>
            <span class="nx">self</span><span class="p">.</span><span class="nx">updateValue</span><span class="p">(</span><span class="nx">silent</span><span class="p">);</span>
            <span class="c1">// Clean the slideEnd event on a timeout since this</span>
            <span class="c1">// will be executed from inside the event&#39;s fire</span>
            <span class="nx">setTimeout</span><span class="p">(</span><span class="kd">function</span> <span class="p">()</span> <span class="p">{</span> <span class="nx">self</span><span class="p">.</span><span class="nx">_cleanEvent</span><span class="p">(</span><span class="nx">maxs</span><span class="p">,</span><span class="s1">&#39;slideEnd&#39;</span><span class="p">);</span> <span class="p">},</span> <span class="mi">0</span><span class="p">);</span>
        <span class="p">});</span>

        <span class="nx">maxs</span><span class="p">.</span><span class="nx">setValue</span><span class="p">(</span><span class="nx">max</span><span class="p">,</span> <span class="nx">skipAnim</span><span class="p">,</span> <span class="nx">force</span><span class="p">);</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Executed when one of the sliders is moved</span>
<span class="cm">     * @method updateValue</span>
<span class="cm">     * @param silent {boolean} (optional) Set to true to skip firing change</span>
<span class="cm">     * events.  Default false</span>
<span class="cm">     * @private</span>
<span class="cm">     */</span>
    <span class="nx">updateValue</span><span class="o">:</span> <span class="kd">function</span><span class="p">(</span><span class="nx">silent</span><span class="p">)</span> <span class="p">{</span>
        <span class="kd">var</span> <span class="nx">min</span>     <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">minSlider</span><span class="p">.</span><span class="nx">getValue</span><span class="p">(),</span>
            <span class="nx">max</span>     <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">maxSlider</span><span class="p">.</span><span class="nx">getValue</span><span class="p">(),</span>
            <span class="nx">changed</span> <span class="o">=</span> <span class="kc">false</span><span class="p">,</span>
            <span class="nx">mint</span><span class="p">,</span><span class="nx">maxt</span><span class="p">,</span><span class="nx">dim</span><span class="p">,</span><span class="nx">minConstraint</span><span class="p">,</span><span class="nx">maxConstraint</span><span class="p">,</span><span class="nx">thumbInnerWidth</span><span class="p">;</span>

        <span class="k">if</span> <span class="p">(</span><span class="nx">min</span> <span class="o">!=</span> <span class="k">this</span><span class="p">.</span><span class="nx">minVal</span> <span class="o">||</span> <span class="nx">max</span> <span class="o">!=</span> <span class="k">this</span><span class="p">.</span><span class="nx">maxVal</span><span class="p">)</span> <span class="p">{</span>
            <span class="nx">changed</span> <span class="o">=</span> <span class="kc">true</span><span class="p">;</span>

            <span class="nx">mint</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">minSlider</span><span class="p">.</span><span class="nx">thumb</span><span class="p">;</span>
            <span class="nx">maxt</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">maxSlider</span><span class="p">.</span><span class="nx">thumb</span><span class="p">;</span>
            <span class="nx">dim</span>  <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">isHoriz</span> <span class="o">?</span> <span class="s1">&#39;x&#39;</span> <span class="o">:</span> <span class="s1">&#39;y&#39;</span><span class="p">;</span>

            <span class="nx">thumbInnerWidth</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">minSlider</span><span class="p">.</span><span class="nx">thumbCenterPoint</span><span class="p">[</span><span class="nx">dim</span><span class="p">]</span> <span class="o">+</span>
                              <span class="k">this</span><span class="p">.</span><span class="nx">maxSlider</span><span class="p">.</span><span class="nx">thumbCenterPoint</span><span class="p">[</span><span class="nx">dim</span><span class="p">];</span>

            <span class="c1">// Establish barriers within the respective other thumb&#39;s edge, less</span>
            <span class="c1">// the minRange.  Limit to the Slider&#39;s range in the case of</span>
            <span class="c1">// negative minRanges.</span>
            <span class="nx">minConstraint</span> <span class="o">=</span> <span class="nb">Math</span><span class="p">.</span><span class="nx">max</span><span class="p">(</span><span class="nx">max</span><span class="o">-</span><span class="nx">thumbInnerWidth</span><span class="o">-</span><span class="k">this</span><span class="p">.</span><span class="nx">minRange</span><span class="p">,</span><span class="mi">0</span><span class="p">);</span>
            <span class="nx">maxConstraint</span> <span class="o">=</span> <span class="nb">Math</span><span class="p">.</span><span class="nx">min</span><span class="p">(</span><span class="o">-</span><span class="nx">min</span><span class="o">-</span><span class="nx">thumbInnerWidth</span><span class="o">-</span><span class="k">this</span><span class="p">.</span><span class="nx">minRange</span><span class="p">,</span><span class="mi">0</span><span class="p">);</span>

            <span class="k">if</span> <span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">isHoriz</span><span class="p">)</span> <span class="p">{</span>
                <span class="nx">minConstraint</span> <span class="o">=</span> <span class="nb">Math</span><span class="p">.</span><span class="nx">min</span><span class="p">(</span><span class="nx">minConstraint</span><span class="p">,</span><span class="nx">maxt</span><span class="p">.</span><span class="nx">rightConstraint</span><span class="p">);</span>

                <span class="nx">mint</span><span class="p">.</span><span class="nx">setXConstraint</span><span class="p">(</span><span class="nx">mint</span><span class="p">.</span><span class="nx">leftConstraint</span><span class="p">,</span><span class="nx">minConstraint</span><span class="p">,</span> <span class="nx">mint</span><span class="p">.</span><span class="nx">tickSize</span><span class="p">);</span>

                <span class="nx">maxt</span><span class="p">.</span><span class="nx">setXConstraint</span><span class="p">(</span><span class="nx">maxConstraint</span><span class="p">,</span><span class="nx">maxt</span><span class="p">.</span><span class="nx">rightConstraint</span><span class="p">,</span> <span class="nx">maxt</span><span class="p">.</span><span class="nx">tickSize</span><span class="p">);</span>
            <span class="p">}</span> <span class="k">else</span> <span class="p">{</span>
                <span class="nx">minConstraint</span> <span class="o">=</span> <span class="nb">Math</span><span class="p">.</span><span class="nx">min</span><span class="p">(</span><span class="nx">minConstraint</span><span class="p">,</span><span class="nx">maxt</span><span class="p">.</span><span class="nx">bottomConstraint</span><span class="p">);</span>
                <span class="nx">mint</span><span class="p">.</span><span class="nx">setYConstraint</span><span class="p">(</span><span class="nx">mint</span><span class="p">.</span><span class="nx">leftConstraint</span><span class="p">,</span><span class="nx">minConstraint</span><span class="p">,</span> <span class="nx">mint</span><span class="p">.</span><span class="nx">tickSize</span><span class="p">);</span>

                <span class="nx">maxt</span><span class="p">.</span><span class="nx">setYConstraint</span><span class="p">(</span><span class="nx">maxConstraint</span><span class="p">,</span><span class="nx">maxt</span><span class="p">.</span><span class="nx">bottomConstraint</span><span class="p">,</span> <span class="nx">maxt</span><span class="p">.</span><span class="nx">tickSize</span><span class="p">);</span>
            <span class="p">}</span>
        <span class="p">}</span>

        <span class="k">this</span><span class="p">.</span><span class="nx">minVal</span> <span class="o">=</span> <span class="nx">min</span><span class="p">;</span>
        <span class="k">this</span><span class="p">.</span><span class="nx">maxVal</span> <span class="o">=</span> <span class="nx">max</span><span class="p">;</span>

        <span class="k">if</span> <span class="p">(</span><span class="nx">changed</span> <span class="o">&amp;&amp;</span> <span class="o">!</span><span class="nx">silent</span><span class="p">)</span> <span class="p">{</span>
            <span class="k">this</span><span class="p">.</span><span class="nx">fireEvent</span><span class="p">(</span><span class="s2">&quot;change&quot;</span><span class="p">,</span> <span class="k">this</span><span class="p">);</span>
        <span class="p">}</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * A background click will move the slider thumb nearest to the click.</span>
<span class="cm">     * Override if you need different behavior.</span>
<span class="cm">     * @method selectActiveSlider</span>
<span class="cm">     * @param e {Event} the mousedown event</span>
<span class="cm">     * @private</span>
<span class="cm">     */</span>
    <span class="nx">selectActiveSlider</span><span class="o">:</span> <span class="kd">function</span><span class="p">(</span><span class="nx">e</span><span class="p">)</span> <span class="p">{</span>
        <span class="kd">var</span> <span class="nx">min</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">minSlider</span><span class="p">,</span>
            <span class="nx">max</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">maxSlider</span><span class="p">,</span>
            <span class="nx">minLocked</span> <span class="o">=</span> <span class="nx">min</span><span class="p">.</span><span class="nx">isLocked</span><span class="p">()</span> <span class="o">||</span> <span class="o">!</span><span class="nx">min</span><span class="p">.</span><span class="nx">backgroundEnabled</span><span class="p">,</span>
            <span class="nx">maxLocked</span> <span class="o">=</span> <span class="nx">max</span><span class="p">.</span><span class="nx">isLocked</span><span class="p">()</span> <span class="o">||</span> <span class="o">!</span><span class="nx">min</span><span class="p">.</span><span class="nx">backgroundEnabled</span><span class="p">,</span>
            <span class="nx">Ev</span>  <span class="o">=</span> <span class="nx">YAHOO</span><span class="p">.</span><span class="nx">util</span><span class="p">.</span><span class="nx">Event</span><span class="p">,</span>
            <span class="nx">d</span><span class="p">;</span>

        <span class="k">if</span> <span class="p">(</span><span class="nx">minLocked</span> <span class="o">||</span> <span class="nx">maxLocked</span><span class="p">)</span> <span class="p">{</span>
            <span class="k">this</span><span class="p">.</span><span class="nx">activeSlider</span> <span class="o">=</span> <span class="nx">minLocked</span> <span class="o">?</span> <span class="nx">max</span> <span class="o">:</span> <span class="nx">min</span><span class="p">;</span>
        <span class="p">}</span> <span class="k">else</span> <span class="p">{</span>
            <span class="k">if</span> <span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">isHoriz</span><span class="p">)</span> <span class="p">{</span>
                <span class="nx">d</span> <span class="o">=</span> <span class="nx">Ev</span><span class="p">.</span><span class="nx">getPageX</span><span class="p">(</span><span class="nx">e</span><span class="p">)</span><span class="o">-</span><span class="nx">min</span><span class="p">.</span><span class="nx">thumb</span><span class="p">.</span><span class="nx">initPageX</span><span class="o">-</span><span class="nx">min</span><span class="p">.</span><span class="nx">thumbCenterPoint</span><span class="p">.</span><span class="nx">x</span><span class="p">;</span>
            <span class="p">}</span> <span class="k">else</span> <span class="p">{</span>
                <span class="nx">d</span> <span class="o">=</span> <span class="nx">Ev</span><span class="p">.</span><span class="nx">getPageY</span><span class="p">(</span><span class="nx">e</span><span class="p">)</span><span class="o">-</span><span class="nx">min</span><span class="p">.</span><span class="nx">thumb</span><span class="p">.</span><span class="nx">initPageY</span><span class="o">-</span><span class="nx">min</span><span class="p">.</span><span class="nx">thumbCenterPoint</span><span class="p">.</span><span class="nx">y</span><span class="p">;</span>
            <span class="p">}</span>
                    
            <span class="k">this</span><span class="p">.</span><span class="nx">activeSlider</span> <span class="o">=</span> <span class="nx">d</span><span class="o">*</span><span class="mi">2</span> <span class="o">&gt;</span> <span class="nx">max</span><span class="p">.</span><span class="nx">getValue</span><span class="p">()</span><span class="o">+</span><span class="nx">min</span><span class="p">.</span><span class="nx">getValue</span><span class="p">()</span> <span class="o">?</span> <span class="nx">max</span> <span class="o">:</span> <span class="nx">min</span><span class="p">;</span>
        <span class="p">}</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Delegates the onMouseDown to the appropriate Slider</span>
<span class="cm">     *</span>
<span class="cm">     * @method _handleMouseDown</span>
<span class="cm">     * @param e {Event} mouseup event</span>
<span class="cm">     * @protected</span>
<span class="cm">     */</span>
    <span class="nx">_handleMouseDown</span><span class="o">:</span> <span class="kd">function</span><span class="p">(</span><span class="nx">e</span><span class="p">)</span> <span class="p">{</span>
        <span class="k">if</span> <span class="p">(</span><span class="o">!</span><span class="nx">e</span><span class="p">.</span><span class="nx">_handled</span> <span class="o">&amp;&amp;</span> <span class="o">!</span><span class="k">this</span><span class="p">.</span><span class="nx">minSlider</span><span class="p">.</span><span class="nx">_sliding</span> <span class="o">&amp;&amp;</span> <span class="o">!</span><span class="k">this</span><span class="p">.</span><span class="nx">maxSlider</span><span class="p">.</span><span class="nx">_sliding</span><span class="p">)</span> <span class="p">{</span>
            <span class="nx">e</span><span class="p">.</span><span class="nx">_handled</span> <span class="o">=</span> <span class="kc">true</span><span class="p">;</span>
            <span class="k">this</span><span class="p">.</span><span class="nx">selectActiveSlider</span><span class="p">(</span><span class="nx">e</span><span class="p">);</span>
            <span class="k">return</span> <span class="nx">YW</span><span class="p">.</span><span class="nx">Slider</span><span class="p">.</span><span class="nx">prototype</span><span class="p">.</span><span class="nx">onMouseDown</span><span class="p">.</span><span class="nx">call</span><span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">activeSlider</span><span class="p">,</span> <span class="nx">e</span><span class="p">);</span>
        <span class="p">}</span> <span class="k">else</span> <span class="p">{</span>
            <span class="k">return</span> <span class="kc">false</span><span class="p">;</span>
        <span class="p">}</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Delegates the onMouseUp to the active Slider</span>
<span class="cm">     *</span>
<span class="cm">     * @method _handleMouseUp</span>
<span class="cm">     * @param e {Event} mouseup event</span>
<span class="cm">     * @protected</span>
<span class="cm">     */</span>
    <span class="nx">_handleMouseUp</span> <span class="o">:</span> <span class="kd">function</span> <span class="p">(</span><span class="nx">e</span><span class="p">)</span> <span class="p">{</span>
        <span class="nx">YW</span><span class="p">.</span><span class="nx">Slider</span><span class="p">.</span><span class="nx">prototype</span><span class="p">.</span><span class="nx">onMouseUp</span><span class="p">.</span><span class="nx">apply</span><span class="p">(</span>
            <span class="k">this</span><span class="p">.</span><span class="nx">activeSlider</span><span class="p">,</span> <span class="nx">arguments</span><span class="p">);</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Schedule an event callback that will execute once, then unsubscribe</span>
<span class="cm">     * itself.</span>
<span class="cm">     * @method _oneTimeCallback</span>
<span class="cm">     * @param o {EventProvider} Object to attach the event to</span>
<span class="cm">     * @param evt {string} Name of the event</span>
<span class="cm">     * @param fn {Function} function to execute once</span>
<span class="cm">     * @private</span>
<span class="cm">     */</span>
    <span class="nx">_oneTimeCallback</span> <span class="o">:</span> <span class="kd">function</span> <span class="p">(</span><span class="nx">o</span><span class="p">,</span><span class="nx">evt</span><span class="p">,</span><span class="nx">fn</span><span class="p">)</span> <span class="p">{</span>
        <span class="kd">var</span> <span class="nx">sub</span> <span class="o">=</span> <span class="kd">function</span> <span class="p">()</span> <span class="p">{</span>
            <span class="c1">// Unsubscribe myself</span>
            <span class="nx">o</span><span class="p">.</span><span class="nx">unsubscribe</span><span class="p">(</span><span class="nx">evt</span><span class="p">,</span> <span class="nx">sub</span><span class="p">);</span>
            <span class="c1">// Pass the event handler arguments to the one time callback</span>
            <span class="nx">fn</span><span class="p">.</span><span class="nx">apply</span><span class="p">({},</span><span class="nx">arguments</span><span class="p">);</span>
        <span class="p">};</span>
        <span class="nx">o</span><span class="p">.</span><span class="nx">subscribe</span><span class="p">(</span><span class="nx">evt</span><span class="p">,</span><span class="nx">sub</span><span class="p">);</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Clean up the slideEnd event subscribers array, since each one-time</span>
<span class="cm">     * callback will be replaced in the event&#39;s subscribers property with</span>
<span class="cm">     * null.  This will cause memory bloat and loss of performance.</span>
<span class="cm">     * @method _cleanEvent</span>
<span class="cm">     * @param o {EventProvider} object housing the CustomEvent</span>
<span class="cm">     * @param evt {string} name of the CustomEvent</span>
<span class="cm">     * @private</span>
<span class="cm">     */</span>
    <span class="nx">_cleanEvent</span> <span class="o">:</span> <span class="kd">function</span> <span class="p">(</span><span class="nx">o</span><span class="p">,</span><span class="nx">evt</span><span class="p">)</span> <span class="p">{</span>
        <span class="kd">var</span> <span class="nx">ce</span><span class="p">,</span><span class="nx">i</span><span class="p">,</span><span class="nx">len</span><span class="p">,</span><span class="nx">j</span><span class="p">,</span><span class="nx">subs</span><span class="p">,</span><span class="nx">newSubs</span><span class="p">;</span>

        <span class="k">if</span> <span class="p">(</span><span class="nx">o</span><span class="p">.</span><span class="nx">__yui_events</span> <span class="o">&amp;&amp;</span> <span class="nx">o</span><span class="p">.</span><span class="nx">events</span><span class="p">[</span><span class="nx">evt</span><span class="p">])</span> <span class="p">{</span>
            <span class="k">for</span> <span class="p">(</span><span class="nx">i</span> <span class="o">=</span> <span class="nx">o</span><span class="p">.</span><span class="nx">__yui_events</span><span class="p">.</span><span class="nx">length</span><span class="p">;</span> <span class="nx">i</span> <span class="o">&gt;=</span> <span class="mi">0</span><span class="p">;</span> <span class="o">--</span><span class="nx">i</span><span class="p">)</span> <span class="p">{</span>
                <span class="k">if</span> <span class="p">(</span><span class="nx">o</span><span class="p">.</span><span class="nx">__yui_events</span><span class="p">[</span><span class="nx">i</span><span class="p">].</span><span class="nx">type</span> <span class="o">===</span> <span class="nx">evt</span><span class="p">)</span> <span class="p">{</span>
                    <span class="nx">ce</span> <span class="o">=</span> <span class="nx">o</span><span class="p">.</span><span class="nx">__yui_events</span><span class="p">[</span><span class="nx">i</span><span class="p">];</span>
                    <span class="k">break</span><span class="p">;</span>
                <span class="p">}</span>
            <span class="p">}</span>
            <span class="k">if</span> <span class="p">(</span><span class="nx">ce</span><span class="p">)</span> <span class="p">{</span>
                <span class="nx">subs</span>    <span class="o">=</span> <span class="nx">ce</span><span class="p">.</span><span class="nx">subscribers</span><span class="p">;</span>
                <span class="nx">newSubs</span> <span class="o">=</span> <span class="p">[];</span>
                <span class="nx">j</span> <span class="o">=</span> <span class="mi">0</span><span class="p">;</span>
                <span class="k">for</span> <span class="p">(</span><span class="nx">i</span> <span class="o">=</span> <span class="mi">0</span><span class="p">,</span> <span class="nx">len</span> <span class="o">=</span> <span class="nx">subs</span><span class="p">.</span><span class="nx">length</span><span class="p">;</span> <span class="nx">i</span> <span class="o">&lt;</span> <span class="nx">len</span><span class="p">;</span> <span class="o">++</span><span class="nx">i</span><span class="p">)</span> <span class="p">{</span>
                    <span class="k">if</span> <span class="p">(</span><span class="nx">subs</span><span class="p">[</span><span class="nx">i</span><span class="p">])</span> <span class="p">{</span>
                        <span class="nx">newSubs</span><span class="p">[</span><span class="nx">j</span><span class="o">++</span><span class="p">]</span> <span class="o">=</span> <span class="nx">subs</span><span class="p">[</span><span class="nx">i</span><span class="p">];</span>
                    <span class="p">}</span>
                <span class="p">}</span>
                <span class="nx">ce</span><span class="p">.</span><span class="nx">subscribers</span> <span class="o">=</span> <span class="nx">newSubs</span><span class="p">;</span>
            <span class="p">}</span>
        <span class="p">}</span>
    <span class="p">}</span>

<span class="p">};</span>

<span class="nx">YAHOO</span><span class="p">.</span><span class="nx">lang</span><span class="p">.</span><span class="nx">augmentProto</span><span class="p">(</span><span class="nx">DualSlider</span><span class="p">,</span> <span class="nx">YAHOO</span><span class="p">.</span><span class="nx">util</span><span class="p">.</span><span class="nx">EventProvider</span><span class="p">);</span>


<span class="cm">/**</span>
<span class="cm"> * Factory method for creating a horizontal dual-thumb slider</span>
<span class="cm"> * @for YAHOO.widget.Slider</span>
<span class="cm"> * @method YAHOO.widget.Slider.getHorizDualSlider</span>
<span class="cm"> * @static</span>
<span class="cm"> * @param {String} bg the id of the slider&#39;s background element</span>
<span class="cm"> * @param {String} minthumb the id of the min thumb</span>
<span class="cm"> * @param {String} maxthumb the id of the thumb thumb</span>
<span class="cm"> * @param {int} range the number of pixels the thumbs can move within</span>
<span class="cm"> * @param {int} iTickSize (optional) the element should move this many pixels</span>
<span class="cm"> * at a time</span>
<span class="cm"> * @param {Array}  initVals (optional) [min,max] Initial thumb placement</span>
<span class="cm"> * @return {DualSlider} a horizontal dual-thumb slider control</span>
<span class="cm"> */</span>
<span class="nx">YW</span><span class="p">.</span><span class="nx">Slider</span><span class="p">.</span><span class="nx">getHorizDualSlider</span> <span class="o">=</span> 
    <span class="kd">function</span> <span class="p">(</span><span class="nx">bg</span><span class="p">,</span> <span class="nx">minthumb</span><span class="p">,</span> <span class="nx">maxthumb</span><span class="p">,</span> <span class="nx">range</span><span class="p">,</span> <span class="nx">iTickSize</span><span class="p">,</span> <span class="nx">initVals</span><span class="p">)</span> <span class="p">{</span>
        <span class="kd">var</span> <span class="nx">mint</span> <span class="o">=</span> <span class="k">new</span> <span class="nx">YW</span><span class="p">.</span><span class="nx">SliderThumb</span><span class="p">(</span><span class="nx">minthumb</span><span class="p">,</span> <span class="nx">bg</span><span class="p">,</span> <span class="mi">0</span><span class="p">,</span> <span class="nx">range</span><span class="p">,</span> <span class="mi">0</span><span class="p">,</span> <span class="mi">0</span><span class="p">,</span> <span class="nx">iTickSize</span><span class="p">),</span>
            <span class="nx">maxt</span> <span class="o">=</span> <span class="k">new</span> <span class="nx">YW</span><span class="p">.</span><span class="nx">SliderThumb</span><span class="p">(</span><span class="nx">maxthumb</span><span class="p">,</span> <span class="nx">bg</span><span class="p">,</span> <span class="mi">0</span><span class="p">,</span> <span class="nx">range</span><span class="p">,</span> <span class="mi">0</span><span class="p">,</span> <span class="mi">0</span><span class="p">,</span> <span class="nx">iTickSize</span><span class="p">);</span>

        <span class="k">return</span> <span class="k">new</span> <span class="nx">DualSlider</span><span class="p">(</span>
                    <span class="k">new</span> <span class="nx">YW</span><span class="p">.</span><span class="nx">Slider</span><span class="p">(</span><span class="nx">bg</span><span class="p">,</span> <span class="nx">bg</span><span class="p">,</span> <span class="nx">mint</span><span class="p">,</span> <span class="s2">&quot;horiz&quot;</span><span class="p">),</span>
                    <span class="k">new</span> <span class="nx">YW</span><span class="p">.</span><span class="nx">Slider</span><span class="p">(</span><span class="nx">bg</span><span class="p">,</span> <span class="nx">bg</span><span class="p">,</span> <span class="nx">maxt</span><span class="p">,</span> <span class="s2">&quot;horiz&quot;</span><span class="p">),</span>
                    <span class="nx">range</span><span class="p">,</span> <span class="nx">initVals</span><span class="p">);</span>
<span class="p">};</span>

<span class="cm">/**</span>
<span class="cm"> * Factory method for creating a vertical dual-thumb slider.</span>
<span class="cm"> * @for YAHOO.widget.Slider</span>
<span class="cm"> * @method YAHOO.widget.Slider.getVertDualSlider</span>
<span class="cm"> * @static</span>
<span class="cm"> * @param {String} bg the id of the slider&#39;s background element</span>
<span class="cm"> * @param {String} minthumb the id of the min thumb</span>
<span class="cm"> * @param {String} maxthumb the id of the thumb thumb</span>
<span class="cm"> * @param {int} range the number of pixels the thumbs can move within</span>
<span class="cm"> * @param {int} iTickSize (optional) the element should move this many pixels</span>
<span class="cm"> * at a time</span>
<span class="cm"> * @param {Array}  initVals (optional) [min,max] Initial thumb placement</span>
<span class="cm"> * @return {DualSlider} a vertical dual-thumb slider control</span>
<span class="cm"> */</span>
<span class="nx">YW</span><span class="p">.</span><span class="nx">Slider</span><span class="p">.</span><span class="nx">getVertDualSlider</span> <span class="o">=</span> 
    <span class="kd">function</span> <span class="p">(</span><span class="nx">bg</span><span class="p">,</span> <span class="nx">minthumb</span><span class="p">,</span> <span class="nx">maxthumb</span><span class="p">,</span> <span class="nx">range</span><span class="p">,</span> <span class="nx">iTickSize</span><span class="p">,</span> <span class="nx">initVals</span><span class="p">)</span> <span class="p">{</span>
        <span class="kd">var</span> <span class="nx">mint</span> <span class="o">=</span> <span class="k">new</span> <span class="nx">YW</span><span class="p">.</span><span class="nx">SliderThumb</span><span class="p">(</span><span class="nx">minthumb</span><span class="p">,</span> <span class="nx">bg</span><span class="p">,</span> <span class="mi">0</span><span class="p">,</span> <span class="mi">0</span><span class="p">,</span> <span class="mi">0</span><span class="p">,</span> <span class="nx">range</span><span class="p">,</span> <span class="nx">iTickSize</span><span class="p">),</span>
            <span class="nx">maxt</span> <span class="o">=</span> <span class="k">new</span> <span class="nx">YW</span><span class="p">.</span><span class="nx">SliderThumb</span><span class="p">(</span><span class="nx">maxthumb</span><span class="p">,</span> <span class="nx">bg</span><span class="p">,</span> <span class="mi">0</span><span class="p">,</span> <span class="mi">0</span><span class="p">,</span> <span class="mi">0</span><span class="p">,</span> <span class="nx">range</span><span class="p">,</span> <span class="nx">iTickSize</span><span class="p">);</span>

        <span class="k">return</span> <span class="k">new</span> <span class="nx">YW</span><span class="p">.</span><span class="nx">DualSlider</span><span class="p">(</span>
                    <span class="k">new</span> <span class="nx">YW</span><span class="p">.</span><span class="nx">Slider</span><span class="p">(</span><span class="nx">bg</span><span class="p">,</span> <span class="nx">bg</span><span class="p">,</span> <span class="nx">mint</span><span class="p">,</span> <span class="s2">&quot;vert&quot;</span><span class="p">),</span>
                    <span class="k">new</span> <span class="nx">YW</span><span class="p">.</span><span class="nx">Slider</span><span class="p">(</span><span class="nx">bg</span><span class="p">,</span> <span class="nx">bg</span><span class="p">,</span> <span class="nx">maxt</span><span class="p">,</span> <span class="s2">&quot;vert&quot;</span><span class="p">),</span>
                    <span class="nx">range</span><span class="p">,</span> <span class="nx">initVals</span><span class="p">);</span>
<span class="p">};</span>

<span class="nx">YAHOO</span><span class="p">.</span><span class="nx">widget</span><span class="p">.</span><span class="nx">DualSlider</span> <span class="o">=</span> <span class="nx">DualSlider</span><span class="p">;</span>

<span class="p">})();</span>
</pre></div>

                    </div>
			</div>
		</div>
		<div class="yui-b">
            <div class="nav">

                    <div id="moduleList" class="module">
                        <h4>Modules</h4>
                        <ul class="content">
                                <li class=""><a href="module_animation.html" title="animation">animation</a></li>
                                <li class=""><a href="module_autocomplete.html" title="autocomplete">autocomplete</a></li>
                                <li class=""><a href="module_button.html" title="button">button</a></li>
                                <li class=""><a href="module_calendar.html" title="calendar">calendar</a></li>
                                <li class=""><a href="module_carousel.html" title="carousel">carousel</a></li>
                                <li class=""><a href="module_charts.html" title="charts">charts</a></li>
                                <li class=""><a href="module_colorpicker.html" title="colorpicker">colorpicker</a></li>
                                <li class=""><a href="module_connection.html" title="connection">connection</a></li>
                                <li class=""><a href="module_container.html" title="container">container</a></li>
                                <li class=""><a href="module_cookie.html" title="cookie">cookie</a></li>
                                <li class=""><a href="module_datasource.html" title="datasource">datasource</a></li>
                                <li class=""><a href="module_datatable.html" title="datatable">datatable</a></li>
                                <li class=""><a href="module_datemath.html" title="datemath">datemath</a></li>
                                <li class=""><a href="module_dom.html" title="dom">dom</a></li>
                                <li class=""><a href="module_dragdrop.html" title="dragdrop">dragdrop</a></li>
                                <li class=""><a href="module_editor.html" title="editor">editor</a></li>
                                <li class=""><a href="module_element.html" title="element">element</a></li>
                                <li class=""><a href="module_element-delegate.html" title="element-delegate">element-delegate</a></li>
                                <li class=""><a href="module_event.html" title="event">event</a></li>
                                <li class=""><a href="module_event-delegate.html" title="event-delegate">event-delegate</a></li>
                                <li class=""><a href="module_event-mouseenter.html" title="event-mouseenter">event-mouseenter</a></li>
                                <li class=""><a href="module_event-simulate.html" title="event-simulate">event-simulate</a></li>
                                <li class=""><a href="module_get.html" title="get">get</a></li>
                                <li class=""><a href="module_history.html" title="history">history</a></li>
                                <li class=""><a href="module_imagecropper.html" title="imagecropper">imagecropper</a></li>
                                <li class=""><a href="module_imageloader.html" title="imageloader">imageloader</a></li>
                                <li class=""><a href="module_json.html" title="json">json</a></li>
                                <li class=""><a href="module_layout.html" title="layout">layout</a></li>
                                <li class=""><a href="module_logger.html" title="logger">logger</a></li>
                                <li class=""><a href="module_menu.html" title="menu">menu</a></li>
                                <li class=""><a href="module_paginator.html" title="paginator">paginator</a></li>
                                <li class=""><a href="module_profiler.html" title="profiler">profiler</a></li>
                                <li class=""><a href="module_profilerviewer.html" title="profilerviewer">profilerviewer</a></li>
                                <li class=""><a href="module_progressbar.html" title="progressbar">progressbar</a></li>
                                <li class=""><a href="module_resize.html" title="resize">resize</a></li>
                                <li class=""><a href="module_selector.html" title="selector">selector</a></li>
                                <li class="selected"><a href="module_slider.html" title="slider">slider</a></li>
                                <li class=""><a href="module_storage.html" title="Storage">Storage</a></li>
                                <li class=""><a href="module_stylesheet.html" title="stylesheet">stylesheet</a></li>
                                <li class=""><a href="module_swf.html" title="swf">swf</a></li>
                                <li class=""><a href="module_swfdetect.html" title="swfdetect">swfdetect</a></li>
                                <li class=""><a href="module_swfstore.html" title="swfstore">swfstore</a></li>
                                <li class=""><a href="module_tabview.html" title="tabview">tabview</a></li>
                                <li class=""><a href="module_treeview.html" title="treeview">treeview</a></li>
                                <li class=""><a href="module_uploader.html" title="uploader">uploader</a></li>
                                <li class=""><a href="module_yahoo.html" title="yahoo">yahoo</a></li>
                                <li class=""><a href="module_yuiloader.html" title="yuiloader">yuiloader</a></li>
                                <li class=""><a href="module_yuitest.html" title="yuitest">yuitest</a></li>
                        </ul>
                    </div>

                    <div id="classList" class="module">
                        <h4>Classes</h4>
                        <ul class="content">
                                <li class=""><a href="YAHOO.widget.DualSlider.html" title="YAHOO.widget.DualSlider">YAHOO.widget.DualSlider</a></li>
                                <li class=""><a href="YAHOO.widget.Slider.html" title="YAHOO.widget.Slider">YAHOO.widget.Slider</a></li>
                                <li class=""><a href="YAHOO.widget.SliderThumb.html" title="YAHOO.widget.SliderThumb">YAHOO.widget.SliderThumb</a></li>
                        </ul>
                    </div>

                    <div id="fileList" class="module">
                        <h4>Files</h4>
                        <ul class="content">        
                                <li class="selected"><a href="DualSlider.js.html" title="DualSlider.js">DualSlider.js</a></li>
                                <li class=""><a href="Slider.js.html" title="Slider.js">Slider.js</a></li>
                                <li class=""><a href="SliderThumb.js.html" title="SliderThumb.js">SliderThumb.js</a></li>
                        </ul>
                    </div>





            </div>
		</div>
	</div>
	<div id="ft">
        <hr />
        Copyright &copy; 2011 Yahoo! Inc. All rights reserved.
	</div>
</div>
<script type="text/javascript">

    var ALL_YUI_PROPS = [{"access": "", "host": "YAHOO.widget.DualSlider", "name": "activeSlider", "url": "YAHOO.widget.DualSlider.html#property_activeSlider", "type": "property"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "animate", "url": "YAHOO.widget.Slider.html#property_animate", "type": "property"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "animationDuration", "url": "YAHOO.widget.Slider.html#property_animationDuration", "type": "property"}, {"access": "private", "host": "YAHOO.widget.Slider", "name": "b4MouseDown", "url": "YAHOO.widget.Slider.html#method_b4MouseDown", "type": "method"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "backgroundEnabled", "url": "YAHOO.widget.Slider.html#property_backgroundEnabled", "type": "property"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "baselinePos", "url": "YAHOO.widget.Slider.html#property_baselinePos", "type": "property"}, {"access": "protected", "host": "YAHOO.widget.DualSlider", "name": "_bindKeyEvents", "url": "YAHOO.widget.DualSlider.html#method__bindKeyEvents", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.Slider", "name": "_bindKeyEvents", "url": "YAHOO.widget.Slider.html#method__bindKeyEvents", "type": "method"}, {"access": "", "host": "YAHOO.widget.DualSlider", "name": "change", "url": "YAHOO.widget.DualSlider.html#event_change", "type": "event"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "change", "url": "YAHOO.widget.Slider.html#event_change", "type": "event"}, {"access": "private", "host": "YAHOO.widget.DualSlider", "name": "_cleanEvent", "url": "YAHOO.widget.DualSlider.html#method__cleanEvent", "type": "method"}, {"access": "", "host": "YAHOO.widget.SliderThumb", "name": "clearTicks", "url": "YAHOO.widget.SliderThumb.html#method_clearTicks", "type": "method"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "dragOnly", "url": "YAHOO.widget.Slider.html#property_dragOnly", "type": "property"}, {"access": "", "host": "YAHOO.widget.SliderThumb", "name": "dragOnly", "url": "YAHOO.widget.SliderThumb.html#property_dragOnly", "type": "property"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "enableKeys", "url": "YAHOO.widget.Slider.html#property_enableKeys", "type": "property"}, {"access": "private", "host": "YAHOO.widget.Slider", "name": "endMove", "url": "YAHOO.widget.Slider.html#method_endMove", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Slider", "name": "fireEvents", "url": "YAHOO.widget.Slider.html#method_fireEvents", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Slider", "name": "focus", "url": "YAHOO.widget.Slider.html#method_focus", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Slider", "name": "_getNextX", "url": "YAHOO.widget.Slider.html#method__getNextX", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Slider", "name": "_getNextY", "url": "YAHOO.widget.Slider.html#method__getNextY", "type": "method"}, {"access": "", "host": "YAHOO.widget.SliderThumb", "name": "getOffsetFromParent", "url": "YAHOO.widget.SliderThumb.html#method_getOffsetFromParent", "type": "method"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "getThumb", "url": "YAHOO.widget.Slider.html#method_getThumb", "type": "method"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "getValue", "url": "YAHOO.widget.Slider.html#method_getValue", "type": "method"}, {"access": "", "host": "YAHOO.widget.SliderThumb", "name": "getValue", "url": "YAHOO.widget.SliderThumb.html#method_getValue", "type": "method"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "getXValue", "url": "YAHOO.widget.Slider.html#method_getXValue", "type": "method"}, {"access": "", "host": "YAHOO.widget.SliderThumb", "name": "getXValue", "url": "YAHOO.widget.SliderThumb.html#method_getXValue", "type": "method"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "getYValue", "url": "YAHOO.widget.Slider.html#method_getYValue", "type": "method"}, {"access": "", "host": "YAHOO.widget.SliderThumb", "name": "getYValue", "url": "YAHOO.widget.SliderThumb.html#method_getYValue", "type": "method"}, {"access": "private", "host": "YAHOO.widget.SliderThumb", "name": "_graduated", "url": "YAHOO.widget.SliderThumb.html#property__graduated", "type": "property"}, {"access": "private", "host": "YAHOO.widget.DualSlider", "name": "_handleDrag", "url": "YAHOO.widget.DualSlider.html#method__handleDrag", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.DualSlider", "name": "_handleKeyDown", "url": "YAHOO.widget.DualSlider.html#method__handleKeyDown", "type": "method"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "handleKeyDown", "url": "YAHOO.widget.Slider.html#method_handleKeyDown", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.DualSlider", "name": "_handleKeyPress", "url": "YAHOO.widget.DualSlider.html#method__handleKeyPress", "type": "method"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "handleKeyPress", "url": "YAHOO.widget.Slider.html#method_handleKeyPress", "type": "method"}, {"access": "private", "host": "YAHOO.widget.DualSlider", "name": "_handleMaxChange", "url": "YAHOO.widget.DualSlider.html#method__handleMaxChange", "type": "method"}, {"access": "private", "host": "YAHOO.widget.DualSlider", "name": "_handleMinChange", "url": "YAHOO.widget.DualSlider.html#method__handleMinChange", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.DualSlider", "name": "_handleMouseDown", "url": "YAHOO.widget.DualSlider.html#method__handleMouseDown", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.DualSlider", "name": "_handleMouseUp", "url": "YAHOO.widget.DualSlider.html#method__handleMouseUp", "type": "method"}, {"access": "private", "host": "YAHOO.widget.DualSlider", "name": "_handleSlideEnd", "url": "YAHOO.widget.DualSlider.html#method__handleSlideEnd", "type": "method"}, {"access": "private", "host": "YAHOO.widget.DualSlider", "name": "_handleSlideStart", "url": "YAHOO.widget.DualSlider.html#method__handleSlideStart", "type": "method"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "initSlider", "url": "YAHOO.widget.Slider.html#method_initSlider", "type": "method"}, {"access": "", "host": "YAHOO.widget.SliderThumb", "name": "initSlider", "url": "YAHOO.widget.SliderThumb.html#method_initSlider", "type": "method"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "initThumb", "url": "YAHOO.widget.Slider.html#method_initThumb", "type": "method"}, {"access": "", "host": "YAHOO.widget.DualSlider", "name": "isHoriz", "url": "YAHOO.widget.DualSlider.html#property_isHoriz", "type": "property"}, {"access": "private", "host": "YAHOO.widget.SliderThumb", "name": "_isHoriz", "url": "YAHOO.widget.SliderThumb.html#property__isHoriz", "type": "property"}, {"access": "private", "host": "YAHOO.widget.Slider", "name": "isTarget", "url": "YAHOO.widget.Slider.html#property_isTarget", "type": "property"}, {"access": "private", "host": "YAHOO.widget.SliderThumb", "name": "isTarget", "url": "YAHOO.widget.SliderThumb.html#property_isTarget", "type": "property"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "keyIncrement", "url": "YAHOO.widget.Slider.html#property_keyIncrement", "type": "property"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "lastOffset", "url": "YAHOO.widget.Slider.html#property_lastOffset", "type": "property"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "lock", "url": "YAHOO.widget.Slider.html#method_lock", "type": "method"}, {"access": "private", "host": "YAHOO.widget.SliderThumb", "name": "maintainOffset", "url": "YAHOO.widget.SliderThumb.html#property_maintainOffset", "type": "property"}, {"access": "", "host": "YAHOO.widget.DualSlider", "name": "maxSlider", "url": "YAHOO.widget.DualSlider.html#property_maxSlider", "type": "property"}, {"access": "", "host": "YAHOO.widget.DualSlider", "name": "maxVal", "url": "YAHOO.widget.DualSlider.html#property_maxVal", "type": "property"}, {"access": "", "host": "YAHOO.widget.DualSlider", "name": "minRange", "url": "YAHOO.widget.DualSlider.html#property_minRange", "type": "property"}, {"access": "", "host": "YAHOO.widget.DualSlider", "name": "minSlider", "url": "YAHOO.widget.DualSlider.html#property_minSlider", "type": "property"}, {"access": "", "host": "YAHOO.widget.DualSlider", "name": "minVal", "url": "YAHOO.widget.DualSlider.html#property_minVal", "type": "property"}, {"access": "private", "host": "YAHOO.widget.Slider", "name": "_mouseDown", "url": "YAHOO.widget.Slider.html#property__mouseDown", "type": "property"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "moveComplete", "url": "YAHOO.widget.Slider.html#property_moveComplete", "type": "property"}, {"access": "private", "host": "YAHOO.widget.Slider", "name": "moveOneTick", "url": "YAHOO.widget.Slider.html#method_moveOneTick", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Slider", "name": "moveThumb", "url": "YAHOO.widget.Slider.html#method_moveThumb", "type": "method"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "onAvailable", "url": "YAHOO.widget.Slider.html#method_onAvailable", "type": "method"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "onChange", "url": "YAHOO.widget.Slider.html#method_onChange", "type": "method"}, {"access": "private", "host": "YAHOO.widget.SliderThumb", "name": "onChange", "url": "YAHOO.widget.SliderThumb.html#method_onChange", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Slider", "name": "onDrag", "url": "YAHOO.widget.Slider.html#method_onDrag", "type": "method"}, {"access": "private", "host": "YAHOO.widget.DualSlider", "name": "_oneTimeCallback", "url": "YAHOO.widget.DualSlider.html#method__oneTimeCallback", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Slider", "name": "onMouseDown", "url": "YAHOO.widget.Slider.html#method_onMouseDown", "type": "method"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "onSliderEnd", "url": "YAHOO.widget.Slider.html#method_onSliderEnd", "type": "method"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "onSlideStart", "url": "YAHOO.widget.Slider.html#method_onSlideStart", "type": "method"}, {"access": "", "host": "YAHOO.widget.SliderThumb", "name": "parentElId", "url": "YAHOO.widget.SliderThumb.html#property_parentElId", "type": "property"}, {"access": "private", "host": "YAHOO.widget.SliderThumb", "name": "_prevVal", "url": "YAHOO.widget.SliderThumb.html#property__prevVal", "type": "property"}, {"access": "", "host": "YAHOO.widget.DualSlider", "name": "ready", "url": "YAHOO.widget.DualSlider.html#event_ready", "type": "event"}, {"access": "protected", "host": "YAHOO.widget.Slider", "name": "resetThumbConstraints", "url": "YAHOO.widget.Slider.html#method_resetThumbConstraints", "type": "method"}, {"access": "private", "host": "YAHOO.widget.SliderThumb", "name": "scroll", "url": "YAHOO.widget.SliderThumb.html#property_scroll", "type": "property"}, {"access": "private", "host": "YAHOO.widget.DualSlider", "name": "selectActiveSlider", "url": "YAHOO.widget.DualSlider.html#method_selectActiveSlider", "type": "method"}, {"access": "", "host": "YAHOO.widget.DualSlider", "name": "setMaxValue", "url": "YAHOO.widget.DualSlider.html#method_setMaxValue", "type": "method"}, {"access": "", "host": "YAHOO.widget.DualSlider", "name": "setMinValue", "url": "YAHOO.widget.DualSlider.html#method_setMinValue", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.Slider", "name": "_setRegionValue", "url": "YAHOO.widget.Slider.html#method__setRegionValue", "type": "method"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "setRegionValue", "url": "YAHOO.widget.Slider.html#method_setRegionValue", "type": "method"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "setStartSliderState", "url": "YAHOO.widget.Slider.html#method_setStartSliderState", "type": "method"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "setThumbCenterPoint", "url": "YAHOO.widget.Slider.html#method_setThumbCenterPoint", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.Slider", "name": "_setValue", "url": "YAHOO.widget.Slider.html#method__setValue", "type": "method"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "setValue", "url": "YAHOO.widget.Slider.html#method_setValue", "type": "method"}, {"access": "", "host": "YAHOO.widget.DualSlider", "name": "setValues", "url": "YAHOO.widget.DualSlider.html#method_setValues", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Slider", "name": "_silent", "url": "YAHOO.widget.Slider.html#property__silent", "type": "property"}, {"access": "", "host": "YAHOO.widget.DualSlider", "name": "slideEnd", "url": "YAHOO.widget.DualSlider.html#event_slideEnd", "type": "event"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "slideEnd", "url": "YAHOO.widget.Slider.html#event_slideEnd", "type": "event"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "Slider.ANIM_AVAIL", "url": "YAHOO.widget.Slider.html#property_Slider.ANIM_AVAIL", "type": "property"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "Slider.SOURCE_KEY_EVENT", "url": "YAHOO.widget.Slider.html#property_Slider.SOURCE_KEY_EVENT", "type": "property"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "Slider.SOURCE_SET_VALUE", "url": "YAHOO.widget.Slider.html#property_Slider.SOURCE_SET_VALUE", "type": "property"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "Slider.SOURCE_UI_EVENT", "url": "YAHOO.widget.Slider.html#property_Slider.SOURCE_UI_EVENT", "type": "property"}, {"access": "", "host": "YAHOO.widget.DualSlider", "name": "slideStart", "url": "YAHOO.widget.DualSlider.html#event_slideStart", "type": "event"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "slideStart", "url": "YAHOO.widget.Slider.html#event_slideStart", "type": "event"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "SOURCE_SET_VALUE", "url": "YAHOO.widget.Slider.html#property_SOURCE_SET_VALUE", "type": "property"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "SOURCE_UI_EVENT", "url": "YAHOO.widget.Slider.html#property_SOURCE_UI_EVENT", "type": "property"}, {"access": "", "host": "YAHOO.widget.SliderThumb", "name": "startOffset", "url": "YAHOO.widget.SliderThumb.html#property_startOffset", "type": "property"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "thumb", "url": "YAHOO.widget.Slider.html#property_thumb", "type": "property"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "thumbCenterPoint", "url": "YAHOO.widget.Slider.html#property_thumbCenterPoint", "type": "property"}, {"access": "private", "host": "YAHOO.widget.Slider", "name": "thumbMouseUp", "url": "YAHOO.widget.Slider.html#method_thumbMouseUp", "type": "method"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "tickPause", "url": "YAHOO.widget.Slider.html#property_tickPause", "type": "property"}, {"access": "private", "host": "YAHOO.widget.SliderThumb", "name": "tickSize", "url": "YAHOO.widget.SliderThumb.html#property_tickSize", "type": "property"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "toString", "url": "YAHOO.widget.Slider.html#method_toString", "type": "method"}, {"access": "", "host": "YAHOO.widget.SliderThumb", "name": "toString", "url": "YAHOO.widget.SliderThumb.html#method_toString", "type": "method"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "type", "url": "YAHOO.widget.Slider.html#property_type", "type": "property"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "unlock", "url": "YAHOO.widget.Slider.html#method_unlock", "type": "method"}, {"access": "private", "host": "YAHOO.widget.DualSlider", "name": "updateValue", "url": "YAHOO.widget.DualSlider.html#method_updateValue", "type": "method"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "valueChangeSource", "url": "YAHOO.widget.Slider.html#property_valueChangeSource", "type": "property"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "verifyOffset", "url": "YAHOO.widget.Slider.html#method_verifyOffset", "type": "method"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "YAHOO.widget.Slider.getHorizDualSlider", "url": "YAHOO.widget.Slider.html#method_YAHOO.widget.Slider.getHorizDualSlider", "type": "method"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "YAHOO.widget.Slider.getHorizSlider", "url": "YAHOO.widget.Slider.html#method_YAHOO.widget.Slider.getHorizSlider", "type": "method"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "YAHOO.widget.Slider.getSliderRegion", "url": "YAHOO.widget.Slider.html#method_YAHOO.widget.Slider.getSliderRegion", "type": "method"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "YAHOO.widget.Slider.getVertDualSlider", "url": "YAHOO.widget.Slider.html#method_YAHOO.widget.Slider.getVertDualSlider", "type": "method"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "YAHOO.widget.Slider.getVertSlider", "url": "YAHOO.widget.Slider.html#method_YAHOO.widget.Slider.getVertSlider", "type": "method"}];
</script>
</body>
</html>
